package com.scut.online_black_market.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ErrandResponse {

    @ApiModelProperty(value = "跑腿任务id", name = "errandId",example="111")
    private Integer errandId;

    @ApiModelProperty(value = "开始地点" , name="startPlace",example = "c10宿舍")
    private String startPlace;

    @ApiModelProperty(value = "结束地点" , name="endPlace",example = "c10宿舍")
    private String endPlace;

    @ApiModelProperty(value="重量" , name ="weight",example = "10")
    private float weight;

    @ApiModelProperty(value = "截至时间", name="weight", example = "2020/10/9/10:21")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "价格" ,name="price",example = "10")
    private float price;

    @ApiModelProperty(value = "备注" ,name="note",example = "这东西又重又大")
    private String note;

    @ApiModelProperty(value = "个人昵称" ,name="nickname",example = "xc")
    private String nickname;

    @ApiModelProperty(value = "个人图片地址" ,name="price",example = "10")
    private String pictureAddress;

    @ApiModelProperty(value = "校区" ,name="campus",example = "南校")
    private String campus;
}
